package thinkingJava.chapter14;

public class Person2 {
	public final String first;
	public final String last;
	public final String address;
	public Person2(String first, String last, String address) {
		this.first = first;
		this.last = last;
		this.address = address;
	}
	public String toString() {
		return " Person2 : " + first + "  " + last + "  " + address;
	}
	public static class NullPerson extends Person2 implements Null {
		private NullPerson() {
			super("none", "none", "none");
		}
		public String toString() {
			return "NullPerson";
		}
	}
	public static final Person2 NULL = new NullPerson();
}
